<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>flashrom</Name>
        <Homepage>https://www.flashrom.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <IsA>library</IsA>
        <Summary>Utility for reading, writing, erasing and verifying flash ROM chips</Summary>
        <Icon>flashrom</Icon>
        <Description>Flash çip içeriğini okumak/yazmak için basit program</Description>
        <Archive sha1sum="4e863c865a8204639add9532b4c8913db46a6501" type="tarbz2">https://download.flashrom.org/releases/flashrom-v1.2.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>meson</Dependency>
            <Dependency>dmidecode</Dependency>
            <Dependency>libusb-devel</Dependency>
            <Dependency>libftdi-devel</Dependency>
            <Dependency>pciutils-devel</Dependency>
        </BuildDependencies>
        <!--
        <Patches>
            <Patch>flashrom.patch</Patch>
            <Patch level="1">flashrom.patch</Patch>
        </Patches>
        -->
    </Source>

    <Package>
        <Name>flashrom</Name>
        <RuntimeDependencies>
            <Dependency>libusb-devel</Dependency>
            <Dependency>libftdi-devel</Dependency>
            <Dependency>pciutils-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>flashrom-devel</Name>
        <Summary>Development files for flashrom</Summary>
        <RuntimeDependencies>
            <Dependency release="current">flashrom</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2022-07-23</Date>
            <Version>1.2</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
